package group2.beans;

import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
import javax.validation.constraints.Size;

/**
 * used when adding comments.
 *
 * @author ludwig
 */
@ManagedBean
@ViewScoped
public class AddCommentBackingBean implements Serializable{
    
    @Size(min=10)
    public String comment;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }
    
    

    /** Creates a new instance of AddCommentBackingBean */
    public AddCommentBackingBean() {
    }
}
